<?php
namespace brainmaster\mobi\application\service;

use brainmaster\ApplicationContext;
use brainmaster\mobi\application\dao\BarangDao;


class BarangService extends ApplicationContext {
	
	private $barangDao;
	
	public function __construct() {
		parent::__construct();
		$this->barangDao = new BarangDao($this->$classDirectory, $this->$entityDirectory, $this->$properties, $this->$isDevMode);
	}
	
	public function getAllBarang() {
		return $this->barangDao->findAll();
	}
	
}